export interface CommentManageItem {
  completedTime?: string;
  contactsPerson?: string;
  contactsPhone?: string;
  evaluatesState?: string;
  expectedTime?: string;
  helperUserId?: string;
  helperUserName?: string;
  helperUserPhone?: string;
  operationUserId?: string;
  operationUserName?: string;
  operationUserPhone?: string;
  projectId?: string;
  projectName?: string;
  serviceOrderId?: string;
  workOrderCode?: string;
  workOrderId?: string;
  workOrderType?: string;
  workOrderTypeName?: string;
  visitState?: "VISITING" | "VISITED";
}

export interface CommentManageSearchModel {
  isEvaluates: number;
  searchText: string;
  workType: string;
}

export interface VisitRecordItem {
  visitRecordContent?: string;
  visitRecordSuggestion?: string;
  visitRecordTitle?: string;
  workOrderVisitRecordType?: "NORMAL" | "COMPLAINT";
}

export interface CommentDetail {
  evaluateTime: string;
  evaluateUserId: string;
  evaluateUserName: string;
  serviceEvaluation: string;
  serviceOrderEvaluateId: string;
  serviceOrderId: string;
  serviceQualityNames: string[];
  serviceQualitys: string[];
  serviceSatisfaction: string;
  serviceSatisfactionName: string;
  serviceScore: number;
}

export interface VisitDetail {
  visitRecordCode: string;
  visitRecordContent: string;
  visitRecordCustomer: string;
  visitRecordCustomerPhone: string;
  visitRecordSuggestion: string;
  visitRecordTime: string;
  visitRecordTitle: string;
  visitRecordUserId: string;
  visitRecordUserName: string;
  workOrderVisitRecordType: string;
  workOrderId: string;
  workOrderVisitRecordId: string;
  workOrderComplaintId: string;
  workOrderComplaintVisitRecordId: string;
}

export interface ComplainItem {
  complaintCode?: string;
  complaintContent?: string;
  complaintCreateTime?: string;
  complaintCreateUserId?: string;
  complaintCreateUserName?: string;
  complaintCreateUserPhone?: string;
  complaintState?: "VISITING" | "VISITED";
  complaintStateName?: string;
  complaintTime?: string;
  complaintTitle?: string;
  complaintUserId?: string;
  complaintUserName?: string;
  complaintUserPhone?: string;
  workOrderId?: string;
  workOrderCode?: string;
  workOrderComplaintId?: string;
}

export interface ComplainSearchModel {
  complaintState?: ComplainItem["complaintState"];
  searchText?: string;
  workType?: string;
}
